﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IotWeek2Day9.Models
{
    public interface ITest1
    {
        public void Show()
        {
            Console.WriteLine("1212");
        }
    }

    public class Class1 : ITest1
    {
        
    }

    public class TestClass1
    {
        public TestClass1()
        {
            ITest1 c = new Class1();
            c.Show(); //调用接口的默认实现
        }
    }
}
